#include "Context.h"
#include <iostream>

namespace State{
    Context::Context(St *state) {
        this->state = state;
    }

    void Context::changeState(St *state) {
        std::cout << "context change state" << std::endl;
        this->state = state;
    }

    void Context::request() {
        this->state->handle();
    }
}
